package io.renren.modules.busi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.renren.common.validator.group.AddGroup;
import io.renren.common.validator.group.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author Liu Yunchang
 * @email yunchang75@aliyun.com
 * @date 2020-08-18 08:20:19
 */
@Data
@TableName("b63_average_speed_peak")
public class B63AverageSpeedPeakEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer averagespeedId;
	/**
	 * 道路类型ID
	 */
	private Integer roadTypeId;
	/**
	 * 车辆类型ID,参照63_vehicle_Type
	 */
	private Integer vehicleTypeId;
	/**
	 * 高峰时间平均行驶速度
	 */
	@NotBlank(message="速度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Float averageSpeed;
	/**
	 * 
	 */
	private String filePath;
	/**
	 * 
	 */
	private String creatby;
	/**
	 * 
	 */
	private Date creatat;
	/**
	 * 
	 */
	private String parentCode;
	/**
	 * 
	 */
	private String typeCode;
	/**
	 * 
	 */
	private Date updateTime;

}
